#ifndef GFX_SPRITE_H
#define GFX_SPRITE_H

#include "gfx_core.h"
#include "gfx_image.h"

typedef struct
{
    float x, y;
    int frame;
    GFX_Image *image;
} GFX_Sprite;

GFX_Sprite* gfx_sprite_new(const char *image);
void gfx_sprite_delete(GFX_Sprite *sprite);

void gfx_render_sprite(GFX_Sprite *sprite);

#endif
